package com.c.ctgproject.entity.guang

import java.io.Serializable

class BatteryInWarehouseEntity {
    /**
     * msg :
     * data : {"total":2,"list":[{"orderId":3,"poundId":null,"orderNo":"DCSJ-20210916-0003","batteryName":"核动力电池","batteryType":1,"count":1,"batterySource":"福岛核电站","driverName":"项一磊","driverPlate":"苏123456","remark":"有点迷","createTime":"2021-09-16 14:50:13","createPersonName":"广阿发","status":0},{"orderId":2,"poundId":null,"orderNo":"DCSJ-20210916-0002","batteryName":"6666666","batteryType":1,"count":9,"batterySource":"77777777","driverName":"788888","driverPlate":"99999","remark":"100000000","createTime":"2021-09-16 14:45:59","createPersonName":"广阿发","status":0}],"pageNum":1,"pageSize":20,"size":2,"startRow":1,"endRow":2,"pages":1,"prePage":0,"nextPage":0,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1],"navigateFirstPage":1,"navigateLastPage":1}
     * success : true
     * status : 1
     */
    var msg: String? = null
    var data: DataBean? = null
    var isSuccess: Boolean? = null
    var status: Int? = null

    class DataBean : Serializable {
        /**
         * total : 2
         * list : [{"orderId":3,"poundId":null,"orderNo":"DCSJ-20210916-0003","batteryName":"核动力电池","batteryType":1,"count":1,"batterySource":"福岛核电站","driverName":"项一磊","driverPlate":"苏123456","remark":"有点迷","createTime":"2021-09-16 14:50:13","createPersonName":"广阿发","status":0},{"orderId":2,"poundId":null,"orderNo":"DCSJ-20210916-0002","batteryName":"6666666","batteryType":1,"count":9,"batterySource":"77777777","driverName":"788888","driverPlate":"99999","remark":"100000000","createTime":"2021-09-16 14:45:59","createPersonName":"广阿发","status":0}]
         * pageNum : 1
         * pageSize : 20
         * size : 2
         * startRow : 1
         * endRow : 2
         * pages : 1
         * prePage : 0
         * nextPage : 0
         * isFirstPage : true
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : [1]
         * navigateFirstPage : 1
         * navigateLastPage : 1
         */
        var total: Int? = null
        var pageNum: Int? = null
        var pageSize: Int? = null
        var size: Int? = null
        var startRow: Int? = null
        var endRow: Int? = null
        var pages: Int? = null
        var prePage: Int? = null
        var nextPage: Int? = null
        var isIsFirstPage: Boolean? = null
            private set
        var isIsLastPage: Boolean? = null
            private set
        var isHasPreviousPage: Boolean? = null
        var isHasNextPage: Boolean? = null
        var navigatePages: Int? = null
        var navigateFirstPage: Int? = null
        var navigateLastPage: Int? = null
        var list: List<ListBean>? = null
        var navigatepageNums: List<Int>? = null
        fun setIsFirstPage(isFirstPage: Boolean?) {
            isIsFirstPage = isFirstPage
        }

        fun setIsLastPage(isLastPage: Boolean?) {
            isIsLastPage = isLastPage
        }

        class ListBean : Serializable {
            var checked=false

            /**
             * orderId : 3
             * poundId : null
             * orderNo : DCSJ-20210916-0003
             * batteryName : 核动力电池
             * batteryType : 1
             * count : 1
             * batterySource : 福岛核电站
             * driverName : 项一磊
             * driverPlate : 苏123456
             * remark : 有点迷
             * createTime : 2021-09-16 14:50:13
             * createPersonName : 广阿发
             * status : 0
             */
            var orderId: Int=0
            var pbId:Int=0
            var poundId: Any? = null
            var orderNo: String? = null
            var batteryName: String? = null
            var returnStatus:String?=null
            var carPlate: String? = null
            var batteryType: Int? = null
            var count: Int? = null
            var batterySource: String? = null
            var carCode:String?=null
            var driverName: String? = null
            var driverPlate: String? = null
            var remark: String? = null
            var createTime: String? = null
            var createPersonName: String? = null
            var batteryCode: String? = null
            var batterySelfCode: String? = null
            var status: Int? = null
            //1-可编辑，0-不可编辑
            var isEditable: Int? = null
        }
    }
}